from rest_framework import routers
from .views import MovieViewSet,FilmRowPieceViewSet

from django.conf.urls import include,url

router = routers.DefaultRouter()
router.register(r'info', MovieViewSet),
router.register(r'pieces',FilmRowPieceViewSet)

urlpatterns = [
    url(r'^', include(router.urls)),
]